package com.wz.pojo;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @program: demo
 * @description:
 * @author: Wangzheng
 * @create: 2020-12-21 17:28
 **/
@Component
@Data
@ToString
@Accessors(chain = true)
public class Block implements Serializable {
	
	private BigInteger number;
	private String hash;
	private String parentHash;
	private String miner;
	private BigInteger difficulty;
	private BigInteger size;
	private BigInteger gasLimit;
	private BigInteger gasUsed;
	private String timestamp;


}